const setProperty = () => {
    console.log('resize :');
    let vh = window.innerHeight * 0.01;
    document.documentElement.style.setProperty('--vh', `${vh}px`);
};


window.addEventListener('resize', setProperty);

setProperty();
